package com.gzk.hrm.service;

import com.gzk.hrm.domain.Tenant;
import com.baomidou.mybatisplus.service.IService;
import com.gzk.hrm.dto.AuditMessageDto;
import com.gzk.hrm.dto.TenantRegisterDto;

import javax.mail.MessagingException;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jake.Chen
 * @since 2022-01-25
 */
public interface ITenantService extends IService<Tenant> {

    /**
     * 机构入驻
     * @param dto
     */
    void entering(TenantRegisterDto dto);

    /**
     *
     * 认证机构
     * @param map
     */
    void verifyCompanyNum(Map<String,String> map);

    void confirmByEamil(AuditMessageDto auditMessageDto) throws MessagingException;

    void activation(Long id);
}
